package com.qianfeng.entity;

/**
 * 映射数据库角色表
 */
public class Role {
    private Integer roleId;//角色Id
    private String roleName;//角色名
    private Integer roleState;//角色状态默认0

    @Override
    public String toString() {
        return "RoleMapper{" +
                "roleId=" + roleId +
                ", roleName='" + roleName + '\'' +
                ", roleState=" + roleState +
                '}';
    }

    public Integer getRoleId() {
        return roleId;
    }

    public void setRoleId(Integer roleId) {
        this.roleId = roleId;
    }

    public String getRoleName() {
        return roleName;
    }

    public void setRoleName(String roleName) {
        this.roleName = roleName;
    }

    public Integer getRoleState() {
        return roleState;
    }

    public void setRoleState(Integer roleState) {
        this.roleState = roleState;
    }

    public Role(Integer roleId, String roleName, Integer roleState) {
        this.roleId = roleId;
        this.roleName = roleName;
        this.roleState = roleState;
    }

    public Role() {
    }
}
